home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_3186.txt < prev    next >
Text File  |  1990-10-02  |  13KB  |  522 lines

  1. -- card: 3186 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 12517
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global chase
  9.   send cardOpened to background
  10.   if chase<>0 then hortaChase
  11. end openCard
  12.  
  13. on move
  14.   global direction,pillarEat,trollDead,hortaDead,chase
  15.   global blasting,causeOfDeath,blastDam,holeDam
  16.   if chase<>0 then
  17.     if direction<>"north" and direction<>"east" and direction<>"back" then
  18.       put "horta4" into causeOfDeath
  19.       visual wipe up slowly to gray
  20.       go to card id 3409
  21.       exit move
  22.     end if
  23.   end if
  24.   if direction = "north" then
  25.     if blastDam then
  26.       go to card id 26754
  27.       exit move
  28.     end if
  29.     if holeDam then
  30.       go to card id 27307
  31.       exit move
  32.     end if
  33.     go to card id 26200
  34.     exit move
  35.   end if
  36.   if direction = "south" or direction = "rear" then
  37.     go to card id 19858
  38.     exit move
  39.   end if
  40.   if direction = "east" then
  41.     if pillarEat then
  42.       go card id 23127
  43.       exit move
  44.     end if
  45.     go card id 22580
  46.     exit move
  47.   end if
  48.   if direction = "west" then
  49.     if trollDead then
  50.       go to card id 24153
  51.       exit move
  52.     end if
  53.     go to card id 23588
  54.     exit move
  55.   end if
  56.   if direction = "down" then
  57.     answer "Do you really want to climb into the pit?" with "yes"or"no"
  58.     if it is "no" then exit move
  59.     if hortaDead then
  60.       go to card id 21738
  61.       exit move
  62.     else
  63.       put "horta1" into causeOfDeath
  64.       go to card id 3409
  65.       exit move
  66.     end if
  67.   end if
  68.   pass move
  69. end move
  70.  
  71.  
  72. on closeCard
  73.   set the cursor to 4
  74.   put "" into field 3
  75.   show card button "hortaCover"
  76. end closeCard
  77.  
  78. on take
  79.   global object,carried
  80.   -- remember to update carried if you do not pass take
  81.   pass take
  82. end take
  83.  
  84. on drop
  85.   global object,dropRoom,carried
  86.   answer "Drop object in this room, or into the pit?" with "pit" or "room"
  87.   if it="pit" then put "21738" into dropRoom
  88.   -- remember to update carried if you do not pass drop
  89.   pass drop
  90. end drop
  91.  
  92. on use
  93.   global object,carried
  94.   -- update carried if use results in loss of object
  95.   pass use
  96. end use
  97.  
  98. on hortaChase
  99.   global chase
  100.   put "There is an angry Horta in the room!" into field 3
  101.   hide card button hortaCover
  102.   wait 30 ticks
  103.   if chase=1 then show card field hortaChase
  104.   put 2 into chase
  105. end hortaChase
  106.  
  107.  
  108.  
  109.  
  110. -- part 16 (button)
  111. -- low flags: 80
  112. -- high flags: 2000
  113. -- rect: left=122 top=230 right=266 bottom=156
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 9301 / 9301
  116. -- text alignment: 1
  117. -- font id: 0
  118. -- text size: 12
  119. -- style flags: 0
  120. -- line height: 16
  121. -- part name: knife
  122. ----- HyperTalk script -----
  123. on mouseUp
  124.   global takeFlag,examFlag,object,cardID
  125.   put the name of the target into object
  126.   if takeFlag = true
  127.   then send take to card id cardID
  128. else put "a knife" into field 3
  129. put false into examFlag
  130. end mouseUp
  131.  
  132.  
  133.  
  134. -- part 17 (button)
  135. -- low flags: 80
  136. -- high flags: 2000
  137. -- rect: left=87 top=231 right=267 bottom=121
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 1015 / 1015
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: nodule
  146. ----- HyperTalk script -----
  147. on mouseUp
  148.   global takeFlag,examFlag,object,cardID
  149.   put the name of the target into object
  150.   if takeFlag = true
  151.   then send take to card id cardID
  152. else put "a silicon sphere" into field 3
  153. put false into examFlag
  154. end mouseUp
  155.  
  156.  
  157.  
  158. -- part 18 (button)
  159. -- low flags: 80
  160. -- high flags: 2000
  161. -- rect: left=136 top=89 right=125 bottom=170
  162. -- title width / last selected line: 0
  163. -- icon id / first selected line: 14953 / 14953
  164. -- text alignment: 1
  165. -- font id: 0
  166. -- text size: 12
  167. -- style flags: 0
  168. -- line height: 16
  169. -- part name: ladder
  170. ----- HyperTalk script -----
  171. on mouseUp
  172.   global takeFlag,examFlag,object,cardID
  173.   put the name of the target into object
  174.   if takeFlag = true
  175.   then send take to card id cardID
  176. else put "a rope ladder" into field 3
  177. put false into examFlag
  178. end mouseUp
  179.  
  180.  
  181.  
  182. -- part 19 (button)
  183. -- low flags: 80
  184. -- high flags: 2000
  185. -- rect: left=7 top=164 right=200 bottom=41
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 1019 / 1019
  188. -- text alignment: 1
  189. -- font id: 0
  190. -- text size: 12
  191. -- style flags: 0
  192. -- line height: 16
  193. -- part name: bomb
  194. ----- HyperTalk script -----
  195. on mouseUp
  196.   global takeFlag,examFlag,object,cardID
  197.   put the name of the target into object
  198.   if takeFlag = true
  199.   then send take to card id cardID
  200. else put "a time bomb" into field 3
  201. put false into examFlag
  202. end mouseUp
  203.  
  204.  
  205.  
  206. -- part 20 (button)
  207. -- low flags: 80
  208. -- high flags: 2000
  209. -- rect: left=156 top=125 right=161 bottom=190
  210. -- title width / last selected line: 0
  211. -- icon id / first selected line: 24317 / 24317
  212. -- text alignment: 1
  213. -- font id: 0
  214. -- text size: 12
  215. -- style flags: 0
  216. -- line height: 16
  217. -- part name: key
  218. ----- HyperTalk script -----
  219. on mouseUp
  220.   global takeFlag,examFlag,object,cardID
  221.   put the name of the target into object
  222.   if takeFlag = true
  223.   then send take to card id cardID
  224. else put "a key" into field 3
  225. put false into examFlag
  226. end mouseUp
  227.  
  228.  
  229.  
  230. -- part 21 (button)
  231. -- low flags: 80
  232. -- high flags: 2000
  233. -- rect: left=122 top=125 right=161 bottom=156
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 7012 / 7012
  236. -- text alignment: 1
  237. -- font id: 0
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: gem
  242. ----- HyperTalk script -----
  243. on mouseUp
  244.   global takeFlag,examFlag,object,cardID
  245.   put the name of the target into object
  246.   if takeFlag = true
  247.   then send take to card id cardID
  248. else put "a glowing gem" into field 3
  249. put false into examFlag
  250. end mouseUp
  251.  
  252.  
  253.  
  254. -- part 22 (button)
  255. -- low flags: 80
  256. -- high flags: 2000
  257. -- rect: left=89 top=125 right=161 bottom=123
  258. -- title width / last selected line: 0
  259. -- icon id / first selected line: 23078 / 23078
  260. -- text alignment: 1
  261. -- font id: 0
  262. -- text size: 12
  263. -- style flags: 0
  264. -- line height: 16
  265. -- part name: orb
  266. ----- HyperTalk script -----
  267. on mouseUp
  268.   global takeFlag,examFlag,object,cardID
  269.   put the name of the target into object
  270.   if takeFlag = true
  271.   then send take to card id cardID
  272. else put "a crystal orb" into field 3
  273. put false into examFlag
  274. end mouseUp
  275.  
  276.  
  277.  
  278. -- part 23 (button)
  279. -- low flags: 00
  280. -- high flags: 0000
  281. -- rect: left=220 top=66 right=162 bottom=249
  282. -- title width / last selected line: 0
  283. -- icon id / first selected line: 0 / 0
  284. -- text alignment: 1
  285. -- font id: 0
  286. -- text size: 12
  287. -- style flags: 0
  288. -- line height: 16
  289. -- part name: 
  290. ----- HyperTalk script -----
  291. on mouseUp
  292.   global examFlag,direction,cardID
  293.   if examFlag then
  294.     put "a tunnel leading east" into field 3
  295.     put false into examFlag
  296.   else
  297.     put "east" into direction
  298.     send move to card id cardID
  299.   end if
  300. end mouseUp
  301.  
  302.  
  303.  
  304. -- part 33 (button)
  305. -- low flags: 00
  306. -- high flags: 0000
  307. -- rect: left=123 top=43 right=91 bottom=163
  308. -- title width / last selected line: 0
  309. -- icon id / first selected line: 0 / 0
  310. -- text alignment: 1
  311. -- font id: 0
  312. -- text size: 12
  313. -- style flags: 0
  314. -- line height: 16
  315. -- part name: 
  316. ----- HyperTalk script -----
  317. on mouseUp
  318.   global examFlag,direction,cardID
  319.   if examFlag then
  320.     put "a tunnel leading north" into field 3
  321.     put false into examFlag
  322.   else
  323.     put "north" into direction
  324.     send move to card id cardID
  325.   end if
  326. end mouseUp
  327.  
  328.  
  329.  
  330. -- part 34 (button)
  331. -- low flags: 00
  332. -- high flags: 0000
  333. -- rect: left=3 top=66 right=150 bottom=34
  334. -- title width / last selected line: 0
  335. -- icon id / first selected line: 0 / 0
  336. -- text alignment: 1
  337. -- font id: 0
  338. -- text size: 12
  339. -- style flags: 0
  340. -- line height: 16
  341. -- part name: 
  342. ----- HyperTalk script -----
  343. on mouseUp
  344.   global examFlag,direction,cardID
  345.   if examFlag then
  346.     put "a stone stairway leading west (and downward)." into field 3
  347.     put false into examFlag
  348.   else
  349.     put "west" into direction
  350.     send move to card id cardID
  351.   end if
  352. end mouseUp
  353.  
  354.  
  355.  
  356. -- part 35 (button)
  357. -- low flags: 00
  358. -- high flags: 0000
  359. -- rect: left=1 top=206 right=229 bottom=76
  360. -- title width / last selected line: 0
  361. -- icon id / first selected line: 0 / 0
  362. -- text alignment: 1
  363. -- font id: 0
  364. -- text size: 12
  365. -- style flags: 0
  366. -- line height: 16
  367. -- part name: 
  368. ----- HyperTalk script -----
  369. on mouseUp
  370.   global examFlag,direction,cardID
  371.   if examFlag then
  372.     put "a very dark climbable pit" into field 3
  373.     put false into examFlag
  374.   else
  375.     put false into takeFlag
  376.     put "down" into direction
  377.     send move to card id cardID
  378.   end if
  379. end mouseUp
  380.  
  381.  
  382.  
  383. -- part 36 (button)
  384. -- low flags: 00
  385. -- high flags: 0000
  386. -- rect: left=183 top=186 right=253 bottom=250
  387. -- title width / last selected line: 0
  388. -- icon id / first selected line: 0 / 0
  389. -- text alignment: 1
  390. -- font id: 0
  391. -- text size: 12
  392. -- style flags: 0
  393. -- line height: 16
  394. -- part name: 
  395. ----- HyperTalk script -----
  396. on mouseUp
  397.   global examFlag,takeFlag,direction,cardID
  398.   if takeFlag then
  399.     put "Don't take that. You don't know where its been!  " into field 3
  400.     put "Besides, it's stuck to the floor by some strange goo" after field 3
  401.     put "  (dissolved flesh, perhaps?)." after field 3
  402.     put false into takeFlag
  403.   else
  404.     put "A skeleton.  Quite dead." into field 3
  405.     put false into examFlag
  406.   end if
  407. end mouseUp
  408.  
  409.  
  410.  
  411. -- part 39 (button)
  412. -- low flags: 00
  413. -- high flags: 0000
  414. -- rect: left=41 top=122 right=176 bottom=90
  415. -- title width / last selected line: 0
  416. -- icon id / first selected line: 0 / 0
  417. -- text alignment: 1
  418. -- font id: 0
  419. -- text size: 12
  420. -- style flags: 0
  421. -- line height: 16
  422. -- part name: 
  423. ----- HyperTalk script -----
  424. on mouseUp
  425.   global examFlag,takeFlag,direction,cardID
  426.   if takeFlag then
  427.     put "Don't take that. You don't know where its been!  " into field 3
  428.     put "Besides, it's stuck to the floor by some strange goo" after field 3
  429.     put "  (dissolved flesh, perhaps?)." after field 3
  430.     put false into takeFlag
  431.   else
  432.     put "A skeleton.  Quite dead." into field 3
  433.     put false into examFlag
  434.   end if
  435. end mouseUp
  436.  
  437.  
  438.  
  439. -- part 40 (button)
  440. -- low flags: 00
  441. -- high flags: 0000
  442. -- rect: left=8 top=230 right=267 bottom=87
  443. -- title width / last selected line: 0
  444. -- icon id / first selected line: 0 / 0
  445. -- text alignment: 1
  446. -- font id: 0
  447. -- text size: 12
  448. -- style flags: 0
  449. -- line height: 16
  450. -- part name: 
  451. ----- HyperTalk script -----
  452. on mouseUp
  453.   global examFlag,takeFlag,direction,cardID
  454.   if takeFlag then
  455.     put "Don't take that. You don't know where its been!  " into field 3
  456.     put "Besides, it's stuck to the floor by some strange goo" after field 3
  457.     put "  (dissolved flesh, perhaps?)." after field 3
  458.     put false into takeFlag
  459.   else
  460.     put "A skeleton.  Quite dead." into field 3
  461.     put false into examFlag
  462.   end if
  463. end mouseUp
  464.  
  465.  
  466.  
  467. -- part 43 (button)
  468. -- low flags: 00
  469. -- high flags: 0001
  470. -- rect: left=85 top=199 right=225 bottom=130
  471. -- title width / last selected line: 0
  472. -- icon id / first selected line: 0 / 0
  473. -- text alignment: 1
  474. -- font id: 0
  475. -- text size: 12
  476. -- style flags: 0
  477. -- line height: 16
  478. -- part name: hortaCover
  479.  
  480.  
  481. -- part 44 (field)
  482. -- low flags: 81
  483. -- high flags: 2002
  484. -- rect: left=0 top=0 right=342 bottom=512
  485. -- title width / last selected line: 0
  486. -- icon id / first selected line: 0 / 0
  487. -- text alignment: 0
  488. -- font id: 3
  489. -- text size: 12
  490. -- style flags: 0
  491. -- line height: 16
  492. -- part name: hortaChase
  493. ----- HyperTalk script -----
  494. on mouseUp
  495.   hide card field hortaChase
  496. end mouseUp
  497.  
  498.  
  499. -- part contents for background part 25
  500. ----- text -----
  501. Skeleton Room
  502. (looking north)
  503.  
  504. -- part contents for background part 24
  505. ----- text -----
  506. The bones of previous adventurers are strewn about the room.  Tunnels lead north, south, east, and west.  A dark pit is in the southwest corner of the room.  Someone has scrawled a message in blood above the pit which reads
  507. "Beware the Horta: Don't go down!".
  508.  
  509. -- part contents for card part 44
  510. ----- text -----
  511. Warning!
  512.  
  513. It's amazing how fast thoughts can run through your mind in a moment of deadly danger -- so you'd better read carefully, because this is one of those moments:
  514.    When you enter the skeleton room a powerful acrid odor stings your nose and a blood-curdling hiss assaults your ears.  The source of both is a large blob-like creature near the mouth of the pit.  The creature is about six feet in diameter and has a dark mottled surface.  It turns slightly with a rapid rippling motion of its tread, then bunches up its body like a coiled spring, as if about to lunge at you.
  515.    Perhaps it is some primal sense, but it is obvious to you that this creature is violently angry and is about to attack you.  And perhaps it is the way the rock floor sizzles under the creature's tread, but it is obvious to you that it would not be a good idea to allow it to catch you.
  516.    I'd advise you to flee.  It depends on how fast this creature can move, of course, but you could almost certainly make it back out the east door, and possibly make it out the north door.  Your chances of reaching the west or south tunnels appear slim.
  517.  
  518. Click to continue...     and good luck!
  519.  
  520. -- part contents for background part 36
  521. ----- text -----
  522. 0